#define _CRT_SECURE_NO_WARNINGS 1
/*
		牛牛喝水
*/

#include <stdio.h>
#include <math.h>

int main()
{
    int h = 0;
    int r = 0;
    scanf("%d %d", &h, &r);
    float V = h * pow(r, 2) * 3.14;//单位是立方厘米
    int need = 10 * pow(10, 3);//将升转换成立方厘米
    float ret = need / V;
    if ((int)ret < ret)
    {
        //说明需要喝的次数不为整数次
        printf("%d", (int)ret + 1);
    }
    else
    {
        //说明喝的次数是整数次
        printf("%d", (int)ret);
    }
    return 0;
}

/*
        小乐乐定闹钟
*/

#include <stdio.h>

int main()
{
    int hour = 0;
    int min = 0;
    int k = 0;
    scanf("%d:%d %d", &hour, &min, &k);
    hour = (hour + (k + min) / 60) % 24;
    min = (k + min) % 60;
    printf("%#02d:%#02d", hour, min);
}